home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / bench / x.txt / 000312_jaltman@watsun.cc.columbia.edu_Wed Jan 23 14:47:00 EST 2002.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  54 lines

  1. Article: 13148 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!jaltman
  3. From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: Command line redirection with K95 ?
  6. Date: 23 Jan 2002 19:44:29 GMT
  7. Organization: Columbia University
  8. Lines: 37
  9. Message-ID: <a2n3qt$8v9$1@newsmaster.cc.columbia.edu>
  10. References: <3d44a7c4.0201211041.639becb6@posting.google.com> <a2hq5r$ai4$1@watsol.cc.columbia.edu>
  11. NNTP-Posting-Host: watsun.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1011815069 9193 128.59.39.2 (23 Jan 2002 19:44:29 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 23 Jan 2002 19:44:29 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13148
  16.  
  17. In article <a2hq5r$ai4$1@watsol.cc.columbia.edu>,
  18. Frank da Cruz <fdc@columbia.edu> wrote:
  19. : In article <3d44a7c4.0201211041.639becb6@posting.google.com>,
  20. : Larry Mann <lvm@cowlitz.com> wrote:
  21. : : Many years ago I wrote several Kermit scripts, on HP-UX, which were
  22. : : run form the command line through standard input redirection and the
  23. : : output was captured to file through redirection.
  24.  
  25. Kermit 95 is a console application.  So it normally receives keyboard
  26. events and updates the screen buffers directly.  However, it can be
  27. instructed to process stdin or stdout using command line switches:
  28.  
  29. help option -#
  30.  
  31.  -# <arg>
  32.      Kermit 95 Startup Flags
  33.      Argument:
  34.    1 - turn off Win95 special fixes
  35.    2 - do not load optional network dlls
  36.    4 - do not load optional tapi dlls
  37.    8 - do not load optional kerberos dlls
  38.   16 - do not load optional zmodem dlls
  39.   32 - use stdin for input instead of the console
  40.   64 - use stdout for output instead of the console
  41.  128 - do not terminate process in response to Session Logoff
  42.  
  43. So you would start k95 with:
  44.  
  45.   k95.exe -# 96
  46.  
  47. to process both input and output via stdio.
  48.  
  49.  
  50.  Jeffrey Altman * Sr.Software Designer      C-Kermit 8.0 available now!!!
  51.  The Kermit Project @ Columbia University   includes Telnet, FTP and HTTP
  52.  http://www.kermit-project.org/             secured with Kerberos, SRP, and 
  53.  kermit-support@columbia.edu                OpenSSL. Interfaces with OpenSSH
  54.